package com.fpc.cn.springbootutil.annotation.paramTrim;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface TrimRequestParams {
    // 是否开启参数不为空校验，默认不开启
    boolean notNullCheck() default false;
    // 是否开启参数长度校验，默认不开启
    boolean lengthCheck() default false;
}

